package Dict;

/**
 * Holder class for : PropGenreValue
 * 
 * @author OpenORB Compiler
 */
final public class PropGenreValueHolder
        implements org.omg.CORBA.portable.Streamable
{
    /**
     * Internal PropGenreValue value
     */
    public Dict.PropGenreValue value;

    /**
     * Default constructor
     */
    public PropGenreValueHolder()
    { }

    /**
     * Constructor with value initialisation
     * @param initial the initial value
     */
    public PropGenreValueHolder(Dict.PropGenreValue initial)
    {
        value = initial;
    }

    /**
     * Read PropGenreValue from a marshalled stream
     * @param istream the input stream
     */
    public void _read(org.omg.CORBA.portable.InputStream istream)
    {
        value = PropGenreValueHelper.read(istream);
    }

    /**
     * Write PropGenreValue into a marshalled stream
     * @param ostream the output stream
     */
    public void _write(org.omg.CORBA.portable.OutputStream ostream)
    {
        PropGenreValueHelper.write(ostream,value);
    }

    /**
     * Return the PropGenreValue TypeCode
     * @return a TypeCode
     */
    public org.omg.CORBA.TypeCode _type()
    {
        return PropGenreValueHelper.type();
    }

}
